package cheme.ProcessModel.ProcessUnits.Streams;

import java.io.Serializable;

import org.w3c.dom.Element;

import cheme.ProcessModel.IModelElement;
import cheme.ProcessModel.Visitors.IModelVisitor;

public class Stream extends AbstractStream implements Serializable
{
	/*
	 * Serialization version identifier. (Set to default for now)
	 */
	
	private static final long serialVersionUID = 1L;
	
	public Stream(IModelElement parent)
	{
		super(parent);
	}
	
	public Stream(IModelElement parent, Element xmlDoc)
	{
		super(parent, xmlDoc);
	}
	
	public Object accept(IModelVisitor ruleChecker)
	{
		return ruleChecker.visit(this);
	}
	
	public String toXml()
	{
		return super.toXml("Stream");
	}
}
